{% extends "base.html" %}

{% block title %}管理员面板{% endblock %}

{% block content %}
<div class="container mt-4">
    <div class="d-flex justify-content-between align-items-center mb-4">
        <h1><i class="fas fa-tachometer-alt me-2"></i>管理员控制台</h1>
        <div class="badge bg-primary rounded-pill p-2">
            <i class="fas fa-user-shield me-1"></i>管理员
        </div>
    </div>

    <div class="row g-4">
        <div class="col-md-4">
            <div class="card h-100">
                <div class="card-body text-center">
                    <div class="bg-primary bg-opacity-10 p-3 rounded-circle d-inline-block mb-3">
                        <i class="fas fa-users fa-3x text-primary"></i>
                    </div>
                    <h5 class="card-title">用户管理</h5>
                    <p class="card-text text-muted">查看和管理系统用户账户</p>
                    <a href="{{ url_for('admin.manage_users') }}" class="btn btn-primary stretched-link">
                        <i class="fas fa-arrow-right me-1"></i>进入管理
                    </a>
                </div>
            </div>
        </div>

        <div class="col-md-4">
            <div class="card h-100">
                <div class="card-body text-center">
                    <div class="bg-primary bg-opacity-10 p-3 rounded-circle d-inline-block mb-3">
                        <i class="fas fa-cogs fa-3x text-primary"></i>
                    </div>
                    <h5 class="card-title">系统设置</h5>
                    <p class="card-text text-muted">配置系统参数和选项</p>
                    <a href="{{ url_for('admin.settings') }}" class="btn btn-primary stretched-link">
                        <i class="fas fa-arrow-right me-1"></i>进入设置
                    </a>
                </div>
            </div>
        </div>

        <div class="col-md-4">
            <div class="card h-100">
                <div class="card-body text-center">
                    <div class="bg-primary bg-opacity-10 p-3 rounded-circle d-inline-block mb-3">
                        <i class="fas fa-chart-line fa-3x text-primary"></i>
                    </div>
                    <h5 class="card-title">数据统计</h5>
                    <p class="card-text text-muted">查看系统使用情况和分析</p>
                    <a href="#" class="btn btn-primary stretched-link">
                        <i class="fas fa-arrow-right me-1"></i>查看统计
                    </a>
                </div>
            </div>
        </div>
    </div>
</div>
{% endblock %}
